package cc.booku.owlbox.Idiom;

public class IdiomClass {
    private String derivation;
    private String example;
    private String explanation;
    private String pinyin;
    private String word;

    public String getDerivation() {
        return derivation;
    }

    public void setDerivation(String derivation) {
        this.derivation = derivation;
    }


    public String getExample() {
        return example;
    }

    public void setExample(String example) {
        this.example = example;
    }


    public String getExplanation() {
        return explanation;
    }

    public void setExplanation(String explanation) {
        this.explanation = explanation;
    }


    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }


    public void setWord(String word) {
        this.word = word;
    }

    public String getWord() {
        return word;
    }


    public IdiomClass() {
        super();
    }

    public IdiomClass(String word, String pinyin) {
        super();
        this.word = word;
        this.pinyin = pinyin;
    }

    @Override
    public String toString() {
        return "Person [pid=" + word + ", pname=" + pinyin + ", page=" + explanation + "]";
    }

}